package com.ngrok;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Created by pj on 2017/10/10.
 */
@ConfigurationProperties(prefix = "ngrok")
public class NgrokConfig {

    private String[] protocol;

    private String[] id;

    private String ngrokAuthUrl;

    private int outTime;

    private NgrokApi.API api;

    public NgrokApi.API getApi() {
        return api;
    }

    public void setApi(NgrokApi.API api) {
        this.api = api;
    }

    public String[] getProtocol() {
        return protocol;
    }

    public void setProtocol(String[] protocol) {
        this.protocol = protocol;
    }

    public String[] getId() {
        return id;
    }

    public void setId(String[] id) {
        this.id = id;
    }

    public String getNgrokAuthUrl() {
        return ngrokAuthUrl;
    }

    public void setNgrokAuthUrl(String ngrokAuthUrl) {
        this.ngrokAuthUrl = ngrokAuthUrl;
    }

    public int getOutTime() {
        return outTime;
    }

    public void setOutTime(int outTime) {
        this.outTime = outTime;
    }
}
